package com.infore.siteManagement.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import com.infore.siteManagement.service.IOperCompanyService;
import com.infore.siteManagement.util.ResultEntity;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

@Api(value = "运维公司管理接口", tags = {"运维公司管理接口" })
@RestController
@RequestMapping("/operCompany")
public class OperCompanyController {

	@Autowired
	private IOperCompanyService iOperCompanyService;
	
	@ApiOperation(value = "查询所有运维公司接口")
	@ResponseBody
	@GetMapping(value = "/queryAll")
	public ResultEntity queryAll() {
		return iOperCompanyService.queryAll();
	}
}
